home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Applications
/
PICSee Dust 1.01
/
Quaternary Source
/
DialogUtils.h
< prev
next >
Wrap
Text File
|
1995-11-17
|
2KB
|
44 lines
#ifndef DIALOGUTILS_H_
#define DIALOGUTILS_H_
#ifdef __cplusplus
extern "C" {
#endif
pascal void DrawDefaultBorder(DialogPtr theDialog, short itemNo);
void OutlineDefaultBorder(Rect *border, Boolean useColor, Boolean activate);
void DrawDefaultListBorder(DialogPtr theDialog, short itemNo, Boolean active);
pascal void FrameBorderBlack(DialogPtr theDialog, short itemNo);
pascal void FrameBorderDotted(DialogPtr theDialog, short itemNo);
void GetDItemRect(DialogPtr theDialog, short theItem, Rect *theRect);
void SetUserProc(DialogPtr theDialog, short theItem, ProcPtr theProc);
Handle GetDItemHdl(DialogPtr theDialog, short theItem);
ControlHandle GetCtlHdl(DialogPtr theDialog, short theItem);
void FlipCtlValue(DialogPtr theDialog, short theItem);
void SetDlogCtlValue(DialogPtr theDialog, short theItem, short theValue);
short GetDlogCtlValue(DialogPtr theDialog, short theItem);
void EnableDlogCtl(DialogPtr theDialog, short theItem);
void DisableDlogCtl(DialogPtr theDialog, short theItem);
void PushButtonControl(ControlHandle theControl);
void PushButton(DialogPtr theDialog, short theItem);
void SetDItemText(DialogPtr theDialog, short theItem, Str255 iText);
void SetDItemBigText(DialogPtr theDialog, short theItem, Ptr theText, short textLen);
Boolean IsDialogStaticText(DialogPtr theDialog, short theItem);
Boolean IsDialogEditText(DialogPtr theDialog, short theItem);
void ChangeDITL(DialogPtr theDialog, short DITLid, short origCount, short *newCount, short eraseItem);
void SelectRadioBtn(DialogPtr theDialog, short selectedBtn, short beginRange, short endRange);
short GetRadioBtn(DialogPtr theDialog, short beginRange, short endRange);
void DrawDisabledDialog(DialogPtr theDialog, RgnHandle disableRgn);
#ifdef __cplusplus
}
#endif
#endif // DIALOGUTILS_H_